home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1999 #2 / Amiga Plus CD - 1999 - No. 2.iso / System-Boost / Workbench / ToolManager / Source / Converter / DMakefile < prev    next >
Makefile  |  1998-06-17  |  2KB  |  57 lines

  1. #
  2. # DMakefile  V3.1
  3. #
  4. # Makefile for ToolManager 3.1 (Converter)
  5. #
  6. # Copyright (C) 1990-98 Stefan Becker
  7. #
  8. # This source code is for educational purposes only. You may study it
  9. # and copy ideas or algorithms from it for your own projects. It is
  10. # not allowed to use any of the source codes (in full or in parts)
  11. # in other programs. Especially it is not allowed to create variants
  12. # of ToolManager or ToolManager-like programs from this source code.
  13. #
  14. TMPDIR = T:
  15. PRE    = $(TMPDIR)tmconv.m
  16. FLAGS  = -3.1 -mi -mRR -ms
  17. IDIRS  = -I//Developer/C/include
  18. #CFLAGS = $(FLAGS) -DDEBUG=1 -d1 $(IDIRS) -proto -H$(PRE)=converter.h -c
  19. #CFLAGS = $(FLAGS) -DDEBUG=0 -d1 $(IDIRS) -proto -H$(PRE)=converter.h -c
  20. CFLAGS = $(FLAGS) $(IDIRS) -proto -H$(PRE)=converter.h -c
  21. #LFLAGS = $(FLAGS) -d1
  22. LFLAGS = $(FLAGS)
  23. #LIBS   = -ldebug -lc -lamiga31 -lamiga31s
  24. LIBS   = -lc
  25.  
  26. CSRCS  = converter.c scan.c \
  27.          exec.c image.c sound.c menu.c icon.c dock.c access.c \
  28.          memory.c misc.c debug.c
  29. COBJS  = $(CSRCS:"*.c":"$(TMPDIR)conv*.o")
  30. DOBJ   = $(COBJS:"*debug.o")
  31. MEOBJ  = $(COBJS:"*memory.o")
  32. MIOBJ  = $(COBJS:"*misc.o")
  33.  
  34. DEST   = //Prefs/Converter
  35.  
  36. all      : $(DEST)
  37.  
  38. $(DEST)  : $(COBJS)
  39.          dcc $(LFLAGS) -o %(left) %(right) $(LIBS)
  40.  
  41. $(COBJS) : $(CSRCS)
  42.          dcc $(CFLAGS) -o %(left) %(right)
  43.  
  44. $(COBJS) : $(PRE)
  45.  
  46. $(DOBJ)  : /global_debug.c
  47.  
  48. $(MEOBJ) : /global_memory.c
  49.  
  50. $(MIOBJ) : /global_misc.c
  51.  
  52. $(PRE)   : converter.h /global.h DMakefile
  53.          -Delete %(left) QUIET
  54.  
  55. clean    :
  56.          -Delete $(PRE) $(COBJS) QUIET
  57.